﻿package com.dykj.apps.web.sysmanager.service;

import java.util.List;

import com.dykj.apps.web.sysmanager.dto.FunctionDTO;
import com.dykj.platform.framework.exception.ApplicationException;

public interface IFunctionBS {
	/**
	 *  取得树形功能菜单
	 * @param parentid
	 * @return
	 * @throws ApplicationException
	 */
	public List getFuntion(String parentid,String roleid,String type) throws ApplicationException;
	public List getManagerFunction(String parentid,String roleid,String type) throws ApplicationException;
	public FunctionDTO getFunctionDTO(String id)throws ApplicationException;
	public int saveOrUpdateFunction(FunctionDTO fun)throws ApplicationException;
	public int delFunction(String id)throws ApplicationException;
}
